<template>
  <a-modal :width="width" title="查重" :visible="checkVisible" @ok="" @cancel="checkVisible = false">
    <a-row :span="24">
      <a-col :span="4">
        <a-select default-value="customerName" @change="chooseCheckType">
          <a-select-option value="customerName">按客户名称</a-select-option>
          <a-select-option value="mobile">按手机号</a-select-option>
        </a-select></a-col
      >
      <a-col :span="16">
        <a-input-search
          placeholder=""
          v-model="queryParam"
          enter-button="查询"
          size="default"
          @keyup.enter.native=""
          @search=""
      /></a-col>
    </a-row>
  </a-modal>
</template>

<script>
import { getAction } from '@/api/manage'
export default {
  name: 'CheckDoub',
  props: {},
  data() {
    return {
      width: 800,
      checkVisible: false,
      checkType: 'customerName',
      queryParam: '',
      url: {
        pagingFileList: '/online/common/upload/pagingFileList',
        deleteCrmFile: '/online/common/upload/deleteCrmFile',
        updateCrmFile: '/online/common/upload/updateCrmFile',
      },
    }
  },
  components: {},
  created() {},
  methods: {
    chooseCheckType(e) {
      this.checkType = e
      console.log(e)
    },
    show() {
      this.checkVisible = true
    },
  },
}
</script>

<style lang="less" scoped>
/deep/ .ant-input{
  border-radius: 0;
}
/deep/ .ant-select{
  width: 100%;
}
/deep/ .ant-select-selection{
  border-radius: 0;
}

</style>